/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cs4280.bean;

/**
 *
 * @author PangPei
 */
public class Price {
    int price;
    int totalPrice;
    int totalPriceLP;
    int ticketNumber;

    public int getTotalPriceLP() {
        return totalPrice*100;
    }

    public void setTotalPriceLP(int totalPriceLP) {
        this.totalPriceLP = totalPriceLP;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getTicketNumber() {
        return ticketNumber;
    }

    public void setTicketNumber(int ticketNumber) {
        this.ticketNumber = ticketNumber;
        this.setTotalPrice(ticketNumber*price);

    }

    public int getTotalPrice() {
        return ticketNumber*price;
    }

    public void setTotalPrice(int totalPrice) {
        this.totalPrice = totalPrice;
        this.totalPriceLP=totalPrice*100;
    }


}
